package com.woniu.order.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评价附件表
 * </p>
 *
 * @author Lucas
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lg_comment_attachment")
public class CommentAttachment implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 评价附件ID
     */
    @TableId(value = "attachment_id", type = IdType.AUTO)
    private Integer attachmentId;

    /**
     * 评价ID
     */
    private Integer commentId;

    /**
     * 原文件名
     */
    private String originalFileName;

    /**
     * 现文件名
     */
    private String fileName;

    /**
     * 文件大小
     */
    private Integer fileSize;

    /**
     * 文件后缀
     */
    private String fileSuffix;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 上传时间
     */
    private Date uploadTime;


}
